package com.ai.dmc.utils.export.excelhelper;

public class CellBean {
	public CellBean(){
		
	}
	
	//huangc 201004 增加构造方法
	public CellBean(int rowindex,int colindex,String value,int rowlength,int collength){
		this.rowindex=rowindex;
		this.colindex=colindex;
		this.value=value;
		this.rowlength=rowlength;
		this.collength=collength;
	}
	public CellBean(int rowindex,int colindex,String value){
		this.rowindex=rowindex;
		this.colindex=colindex;
		this.value=value;
		this.rowlength=1;
		this.collength=1;
	}

	//单元格左上角所在的行索引，从0开始，一定要为在Excel中的行索引，
	//比如它实际为第二行，但是前面一行占了3行，则该值应为3
	private int rowindex;

	//单元格左上角所在的列索引，从0开始，一定要为在Excel中的列索引，
	//比如它实际为第二列，但是前面一列占了3列，则该值应为3
	private int colindex;
	
	//该单元格所占的行数，占一行为1，占2行为2
	private int rowlength;
	
	//该单元格所占的列数
	private int collength;
	
	//该单元格中要填充的内容
	private String value;

	public int getRowindex() {
		return rowindex;
	}

	public void setRowindex(int rowindex) {
		this.rowindex = rowindex;
	}

	public int getColindex() {
		return colindex;
	}

	public void setColindex(int colindex) {
		this.colindex = colindex;
	}

	public int getRowlength() {
		return rowlength;
	}

	public void setRowlength(int rowlength) {
		this.rowlength = rowlength;
	}

	public int getCollength() {
		return collength;
	}

	public void setCollength(int collength) {
		this.collength = collength;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	
}
